<?php

//app根目录
define("APP_ROOT",dirname(__DIR__));

//存储
define("CDN_PATH","/data0/dk/cdn/host");
define("CDN_TMP1","/data0/dk/tmp1/");
define("CDN_TMP2","/data0/dk/tmp1");
define("CDN_HOST","https://s-js.sports.cctv.com/host");
//define("CDN_PATH","/data0/dk/cdn/test_host");
//define("CDN_HOST","http://cdn.iuxiao.com/test_host");

define("DB_PASSWORD_PRIVATE_KEY_PATH","http://a-js.sports.cctv.com/database.key");

//db master default
define("DB_MASTER_DB_NAME","host");
define("DB_MASTER_HOST","rm-8vbcdnd8x72t6m4s3.mysql.zhangbei.rds.aliyuncs.com");
define("DB_MASTER_PORT","3306");
define("DB_MASTER_USER","host");
//define("DB_MASTER_PASSWORD","FMHaFf0msOcCeyZyO1UANA==");
define("DB_MASTER_PASSWORD","Host12345678");
define("DB_MASTER_DB_PREFIX",'host_');

//db slave default
$dbSalve[] =["host"=>"rr-8vb02o73ynx9418fg.mysql.zhangbei.rds.aliyuncs.com", "port"=>"3306", "db"=>"host", "user"=>"host", "password"=>"Host12345678", "db_prefix"=>"host_"];
$dbSalve[] =["host"=>"rr-8vbgaem2jtz43578q.mysql.zhangbei.rds.aliyuncs.com", "port"=>"3306", "db"=>"host", "user"=>"host", "password"=>"Host12345678", "db_prefix"=>"host_"];
$dbSalve[] =["host"=>"rr-8vbg54piynjls1wd7.mysql.zhangbei.rds.aliyuncs.com", "port"=>"3306", "db"=>"host", "user"=>"host", "password"=>"Host12345678", "db_prefix"=>"host_"];
$dbSalve[] =["host"=>"rr-8vbfanj26l1j92p11.mysql.zhangbei.rds.aliyuncs.com", "port"=>"3306", "db"=>"host", "user"=>"host", "password"=>"Host12345678", "db_prefix"=>"host_"];
define("DB_SLAVE",serialize($dbSalve));
//define("DB_SLAVE_DB_NAME","test_host");
//define("DB_SLAVE_HOST","rm-8vbcdnd8x72t6m4s3.mysql.zhangbei.rds.aliyuncs.com");
//define("DB_SLAVE_PORT","3306");
//define("DB_SLAVE_USER","host");
////define("DB_SLAVE_PASSWORD","Host12345678");
//define("DB_SLAVE_PASSWORD","FMHaFf0msOcCeyZyO1UANA==");
//define("DB_SLAVE_DB_PREFIX",'host_');

//redis
define("REDIS_HOST","r-8vbda5350f003334.redis.zhangbei.rds.aliyuncs.com");
define("REDIS_PORT","6379");
define("REDIS_PASSWD","");
define("REDIS_TIME_OUT",2);
define("REDIS_PREFIX","HOST_");


//微信公众号
define("WX_PUBLIC_APP_ID","wxa4c05d1367eee5db");
define("WX_PUBLIC_APP_SECRECT","1aa11ffc2b7befa3bece9acdecad53ba");


